package day07;

public class FinalBasic {
    public static void main(String[] args) {
        // 初始化 循环条件 循环变量
        int a=0;
        while (a<5){
            System.out.println("");
            a++;
        }
        do{
            System.out.println("");
            a++;
        }while (a<10);

        for (int i = 0; i < 10; i++) {
            System.out.println("i");
        }

        /*int a=5;
        int b=6;
        if(a==b){
            System.out.println("a==b");
        }else {
            System.out.println("a!=b");
        }
        if(a>b){

        } else if (a==b) {

        }

        switch (a){
            case 1:
                System.out.println("1");
            case 2:
                System.out.println("1");
                break;

            default:
                System.out.println("");
        }

        System.out.println(a>b);
        System.out.println(a==b);
        System.out.println(a!=b);

        System.out.println(a>b&&a==b);
        System.out.println(a<b||b++>a);

       int c= a>b ? a : b;
        System.out.println(c);

*/
      /* int a=10;
       int b=20;
       int c=-29;
       System.out.println(c);
       int e=c+a;
       System.out.println(e);
        System.out.println(c/2);
        System.out.println(c%2);

        double f=10;
        System.out.println(f/3);
        System.out.println(f%3);

        a=7;
        System.out.println(a++);//7
        System.out.println(++a);//9
        System.out.println(a);//9

        // +=1 -=2 *=2 /=3
        a+=3;
        System.out.println(a);// a=a+3

        short s=3;
        short s1=5;
        //short s3=s+s1;
        s1+=2;
        System.out.println(s1);

        */















    }
}
